# -*- coding:utf-8 -*-
from django.conf.urls import url
from statistics.views import ElevatorStatisticsForTypeView, IndexStatisticsView, ElevatorCheckUpListView, \
    ElevatorCheckUpDetailView

urlpatterns = [
    url(r"^statistics/type/$", ElevatorStatisticsForTypeView.as_view(), name="statistics-for-type"),
    url(r"^statistics/summary/$", IndexStatisticsView.as_view(), name="count"),
    url(r"^checkup/elevator/$", ElevatorCheckUpListView.as_view(), name="list"),
    url(r"^checkup/elevator/(?P<pk>\d+)/$", ElevatorCheckUpDetailView.as_view(), name="detail")
]